<template>
	<view class="JActivity">
		<view class="activity-list">
			<view class="activity-item" v-for="(item ,index) in list" :key="index">
				<text>活动板块</text>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	props: {
		list: {
			type: Array,
			default: () => []
		}
	},	
	name: 'JActivity',
	data() {
		return {};
	}
};
</script>

<style lang="less">
.JActivity {
	padding: @page-col-spacing @page-row-spacing;
	.activity-list {
		display: flex;
		flex-wrap: wrap;
		gap: 20rpx;
		.activity-item {
			width: 100%;
			min-height: 100rpx;
			background: #f3f4f6;
			text-align: center;
			line-height: 100rpx;
			border-radius: 10rpx;
			text {
				font-size: 28rpx;
				color: #333333;
			}
		}
	}
}
</style>
